package com.bigknow.appstore.web.console.app;

import com.bigknow.appstore.web.framework.entity.BaseEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by 李科风 on 2016-09-21.
 */
@Entity("application-category")
public class ApplicationCategory extends BaseEntity {

    private String name;

    private String description;

    private int sort;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getSummary() {
        return String.format("{名称：%s,描述:%s}", name, description);
    }
}
